package com.joysuch.wwyt.core.bean;

import cn.zlg.common.springmvc.validate.constraints.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "NFC卡")
public class BaseNfcCardBean implements Serializable {

    @ApiModelProperty(value = "NFC卡id")
    private Long id;

    @NotNull(field = "NFC卡名称",message = "NFC卡名称不能为空")
    @ApiModelProperty(value = "NFC卡名称")
    private String name;

    @NotNull(field = "NFC卡编码",message = "NFC卡识编码不能为空")
    @ApiModelProperty(value = "NFC卡识编码")
    private String code;

    @ApiModelProperty(value = "位置信息")
    private String location;

}
